package com.khoayang.littlefighterchaos.game;
import java.util.ArrayList;
import org.cocos2d.nodes.CCDirector;
import org.cocos2d.types.CGSize;

public abstract class AI {
	
	protected CharacterGame _Character;
	protected ArrayList<CharacterGame> _OtherCharacters;
	protected CGSize _WinSize;

	public AI(CharacterGame character, ArrayList<CharacterGame> otherCharacters){
		_Character = character;
		_OtherCharacters = otherCharacters;
		_WinSize = CCDirector.sharedDirector().displaySize();
	}
	
	protected int _Time = 0;
	protected int _MoveSkillDuration = 20;
	protected int _AttackSkillDuration = 50;
	protected int MAX_ATTACK_SKILL_DURATION = 100;
	protected int MAX_MOVE_SKILL_DURATION = 100;
	protected int _RandomDirection = 0;
	public static float x,y;
	
	public abstract void update();
}
